import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyEle from "../components/MyEle";
import MyTable from "../components/MyTable";
import MyEle1 from "../components/elementPage/MyEle1";
import MyEle2 from "../components/elementPage/MyEle2";
import MyEle3 from "../components/elementPage/MyEle3";
import MyEle4 from "../components/elementPage/MyEle4";
import MyEle5 from "../components/elementPage/MyEle5";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/MyEle',
      name: 'MyEle',
      component: MyEle
    },
    {
      path: '/myTable',
      name: 'MyTable',
      component: MyTable
    },
    {
      path: '/myEle1',
      name: 'MyEle1',
      component: MyEle1
    },
    {
      path: '/myEle2',
      name: 'MyEle2',
      component: MyEle2
    },
    {
      path: '/myEle3',
      name: 'MyEle3',
      component: MyEle3
    },
    {
      path: '/myEle4',
      name: 'MyEle4',
      component: MyEle4
    },
    {
      path: '/myEle5',
      name: 'MyEle5',
      component: MyEle5
    },
  ]
})
